16
How do I refresh the control

oDCOCX_Exontrol1:Items:Add("Item 1",nil,nil)
oDCOCX_Exontrol1:Refresh()

15
How do I change the color to highligth the selected item


oDCOCX_Exontrol1:HighLightBorderColor := RGB(255,0,0)
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"

14
How do I change the drop down, popup menu foreground color


oDCOCX_Exontrol1:PopupForeColor := RGB(255,0,0)
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"

13
How do I change the drop down, popup menu background color


oDCOCX_Exontrol1:PopupBackColor := RGB(255,0,0)
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"

12
How do I change the control's shadow color


oDCOCX_Exontrol1:ShadowColor := RGB(255,0,0)
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"

11
How do I place the control on vertical


oDCOCX_Exontrol1:OpenMode := Horizontal
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"

10
How do I change the control's appearance

oDCOCX_Exontrol1:Appearance := Button
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"

9
How do I change the control's appearance


oDCOCX_Exontrol1:Appearance := Normal
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"

8
How do I change the visual appearance effect for the selected item, using EBN


oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:SelBackColor := 0x1000000
oDCOCX_Exontrol1:SelForeColor := RGB(0,0,0)
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"

7
How do I change the colors for the selected item


oDCOCX_Exontrol1:SelBackColor := RGB(0,0,0)
oDCOCX_Exontrol1:SelForeColor := RGB(255,255,255)
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"

6
How do I change the control's foreground color


oDCOCX_Exontrol1:ForeColor := RGB(255,0,0)
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"

5
How do I change the control's background color


oDCOCX_Exontrol1:BackColor := RGB(200,200,200)

4
How can I change the control's font


oDCOCX_Exontrol1:Font:Name := "Tahoma"
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"

3
How do I change the drop down menu's border


oDCOCX_Exontrol1:Border := FlatBorder
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"

2
How do I change the control's border, using your EBN files


oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:MenuBarBorder := 0x1000000 | 
oDCOCX_Exontrol1:Border := 0x1000000 | 
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"

1
How do I change the control's border


oDCOCX_Exontrol1:MenuBarBorder := FlatBorder
oDCOCX_Exontrol1:Items:ToString := "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2[id=80])"